/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ie.tcd.cs.railtickets.server.service;

import ie.tcd.cs.railtickets.server.graph.RailsGraph;
import ie.tcd.cs.railtickets.server.service.impl.TicketServiceImpl;

/**
 *
 * @author Wenbo Sun
 */
public class ServiceFactory {

    public static GraphService createGraphService() {
        return new RailsGraph();
    }

    public static TicketService createTicketService() {
        return new TicketServiceImpl();
    }

}
